package cn.demoncat.util.ocr.baidu.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 百度密钥
 *
 * @author 延晓磊
 * @since 2020年10月25日
 */
@Component
@ConfigurationProperties(prefix="ocr.bd")
public class BdOcrProperties {

    // AppID
    private String appId;
    // API Key
    private String apiKey;
    // Secret Key
    private String apiPassword;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getApiPassword() {
        return apiPassword;
    }

    public void setApiPassword(String apiPassword) {
        this.apiPassword = apiPassword;
    }
}
